﻿using Microsoft.SharePoint;
using Microsoft.SharePoint.Utilities;

namespace Eneta.Portal.Forum
{
    public static class Resources
    {
        public static string GetResourceString(string label)
        {
            var resourceString = "$Resources:Eneta.Forum," + label;
            var result = SPUtility.GetLocalizedString(resourceString, "Eneta.Forum", SPContext.Current.Web.Language);
            return result;
        }
    }
}
